﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Net.Sockets;

namespace Heartbeat
{
    public class StateObject
    {
        public StateObject(int bufferSize)
        {
            mBufferSize = bufferSize;
            mBuffer = new byte[bufferSize];
        }

        //Size of receive buffer.
        public int mBufferSize;

        //Receive buffer.
        public byte[] mBuffer;

        //Packet channel.
        public int channel;

        //Received data string.
        public StringBuilder mSb = new StringBuilder();
    }
}
